SET

Syntax: SET x, y, col  (HCO)
   and: SET [#] variable TO value (DIY Toolkit)
Location: HCO and DIY Toolkit Vol U

SET has two meanings.  The DIY Toolkit version is dealt with under ALTER.

In HCO, SET does the same as PLOT with SCRBASE 131072 set.

x ranges from 0 to 511, y from 0 to 255. The colour (col) is specified by an integer from 0 to 3, representing the four colours available in MODE 4:   

0 ... black   
1 ... red   
2 ... green   
3 ... white

CROSS-REFERENCE:
PLOT. 
COL finds the colour of a screen pixel.
